package com.len.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.len.base.BaseMapper;
import com.len.base.CurrentUser;
import com.len.base.impl.BaseServiceImpl;
import com.len.entity.SpOrder;
import com.len.entity.SpTx;
import com.len.entity.SysUser;
import com.len.mapper.SpOrderMapper;
import com.len.mapper.SpTxMapper;
import com.len.util.ReType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SpTxService extends BaseServiceImpl<SpTx,String> {
    @Autowired
    private SpTxMapper spTxMapper;

    @Override
    public BaseMapper<SpTx, String> getMappser() {

        return spTxMapper;
    }

    public List<SpTx> getList(){
        return spTxMapper.getList();
    }

    public void updateDk(String id){
        spTxMapper.updateDk(id);
    }
}
